package com.zhentao.file.service;

import lombok.SneakyThrows;

import java.io.InputStream;

/*
 *云计算
 *魏子纹
 *2025/6/10
 */
public interface FileStorageService {

    //
    //上传  html  png  jpg  mp3  mp4

    /**
     * 上传html文件到minio里面
     * @param fileName
     * @param inputStream
     * @return  地址
     */
    public String uploadHtmlFile(String fileName, InputStream inputStream);

    @SneakyThrows
    String uploadImageFile(String fileName, InputStream inputStream);
}
